package com.example.SpringCloudUpload.service;


import com.example.SpringCloudUpload.entity.Chunk;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Class Description
 *
 * @author hulilei
 * @version 1.0.0
 * @date 2021/10/21 9:19
 */
public interface BigFileServiceInterface {
    /**
     * 文件上传
     */
    public String fileUploadPost(Chunk chunk, HttpServletResponse response) throws IOException;

    /**
     * 删除文件（服务器上）
     *
     * @param filePath 文件在服务器上的路径
     */
    public String removeFile(String filePath);

}
